<?php $page_title = 'ChaChaConga - Question'; $page = 'Question';
include 'includes/header.php'; ?>

    <!-- question header -->
    <div id="question-header">
        <div class="heart"><img src="images/heart-off.gif" border="0" /></div>
        <p class="question-text">Q: Where's the best place that serves steak brazilian style?</p>
	    <p class="question-info-line">Asked <strong>10 SECONDS AGO</strong> by <strong>cooliomagic</strong></p>
        <!-- <img src="images/heart-off.gif" /> -->
    </div>

	<!-- answer feed -->
	<div id="answer-feed">
    	<img src="images/header-answers.jpg" />
    	<div class="answer">
        	<span class="answerer">
            	<img src="images/photo-hulk.jpg" />
                <br />
                <p class="agree-rate-label">USERS<br />AGREE</p>
                <p class="agree-rate-value">100%</p>
            </span>
            <span class="answer-text">
            	<p class="answer-byline"><strong>Steakmaster HulkHogan</strong> says</p>
                <p>The best Brazilian steakhouse is Fogo de Chao. I'm really surprised that I can spell that right, given that I'm known for my wrestling rather than my spelling prowess.</p>
            </span>
            <div class="answer-info-line">
            	<?php if(($_GET['agree'] == 1) && ($_SESSION['disagree'] == 0)) echo '<img src="images/agree-yes.jpg" />';
            	   else echo '<a href="view-question.php?agree=1&disagree=0"><img src="images/button-agree.jpg" /></a>'; 
                    
                    if(($_GET['disagree'] == 1) && ($_SESSION['agree'] == 0)) echo '<img src="images/disagree-yes.jpg" />';
                    else echo '<a href="view-question.php?disagree=1&agree=0"><img src="images/button-disagree.jpg" /></a>';
                    
                ?>
            	<img src="images/flag.jpg" />
                <span class="replies-link"><a href="reply-thread.php">2 replies</a></span>
            </div>
        </div>

    </div>    
    <div id="answer-this-question"><input class="answer-field" id="answer-field" /></div>
<?php include 'includes/footer.php'; ?>
